Skip to content

Commit

Permalink
Disable the net tests, which error due to bytes literals
Browse files Browse the repository at this point in the history
  • Loading branch information
Technologicat committed Aug 20, 2020
1 parent 7c59ec5 commit e0cd5cd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,13 @@ def modname(path, filename): # some/dir/mod.py --> some.dir.mod

def main():
with session():
testsets = (("regular code", (listtestmodules(os.path.join("unpythonic", "test")) +
listtestmodules(os.path.join("unpythonic", "net", "test")))),
# TODO: The net tests crash due to MacroPy 1.1.0b2 not liking `bytes` literals.
# TODO: So we have disabled them for now. Re-enable when the issue is fixed.
# TODO: See: https://github.com/azazel75/macropy/issues/26
# testsets = (("regular code", (listtestmodules(os.path.join("unpythonic", "test")) +
# listtestmodules(os.path.join("unpythonic", "net", "test")))),
# ("macros", listtestmodules(os.path.join("unpythonic", "syntax", "test"))))
testsets = (("regular code", listtestmodules(os.path.join("unpythonic", "test"))),
("macros", listtestmodules(os.path.join("unpythonic", "syntax", "test"))))
for tsname, modnames in testsets:
with testset(tsname):
Expand Down

0 comments on commit e0cd5cd

Please sign in to comment.