Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(259489)

Delta Between Two Patch Sets: Lib/test/test_fnmatch.py

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 5 years, 12 months ago
Right Patch Set: Created 5 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_filecmp.py ('k') | Lib/test/test_funcattrs.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 """Test cases for the fnmatch module.""" 1 """Test cases for the fnmatch module."""
2 2
3 from test import support 3 from test import support
4 import unittest 4 import unittest
5 5
6 from fnmatch import fnmatch, fnmatchcase, translate, filter 6 from fnmatch import fnmatch, fnmatchcase, translate, filter
7 7
8 class FnmatchTestCase(unittest.TestCase): 8 class FnmatchTestCase(unittest.TestCase):
9 9
10 def check_match(self, filename, pattern, should_match=1, fn=fnmatch): 10 def check_match(self, filename, pattern, should_match=1, fn=fnmatch):
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 81
82 def test_main(): 82 def test_main():
83 support.run_unittest(FnmatchTestCase, 83 support.run_unittest(FnmatchTestCase,
84 TranslateTestCase, 84 TranslateTestCase,
85 FilterTestCase) 85 FilterTestCase)
86 86
87 87
88 if __name__ == "__main__": 88 if __name__ == "__main__":
89 test_main() 89 test_main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+