Skip to content

Commit a202185

Browse files
committed
not sure what happened, unittest.main() does the job now
1 parent ff5a0c0 commit a202185

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,10 @@ def test_spans_in_tweets(self):
572572

573573
# Test it!
574574
if __name__ == '__main__':
575-
#unittest.main() # only seems to run 1 class?
575+
unittest.main() # only seems to run 1 class?
576576

577-
verbosity = 0 # set to 2 for verbose output
578-
suite = unittest.TestLoader().loadTestsFromTestCase(TWPTestsWithSpans)
579-
unittest.TextTestRunner(verbosity=verbosity).run(suite)
580-
suite = unittest.TestLoader().loadTestsFromTestCase(TWPTests)
581-
unittest.TextTestRunner(verbosity=verbosity).run(suite)
577+
#verbosity = 0 # set to 2 for verbose output
578+
#suite = unittest.TestLoader().loadTestsFromTestCase(TWPTestsWithSpans)
579+
#unittest.TextTestRunner(verbosity=verbosity).run(suite)
580+
#suite = unittest.TestLoader().loadTestsFromTestCase(TWPTests)
581+
#unittest.TextTestRunner(verbosity=verbosity).run(suite)

0 commit comments

Comments
 (0)