Small fixes / optimizations
This commit is contained in:
10
tests/test_examples.py
Normal file
10
tests/test_examples.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import pytest
|
||||
import py_compile
|
||||
import glob
|
||||
from os import path
|
||||
|
||||
|
||||
def test_examples_compiles():
|
||||
# Compiles the examples, to check for syntax errors
|
||||
for name in glob.glob(path.join(path.dirname(__file__), "../examples", "*.py")):
|
||||
py_compile.compile(name)
|
Reference in New Issue
Block a user