Example #1
0
 def test_5(self):
     self.assertEqual("/a/b/c", remove_file_extension("/a/b/c.1"))
Example #2
0
 def test_2(self):
     self.assertEqual("file", remove_file_extension("file.1"))
Example #3
0
 def test_3(self):
     self.assertEqual(".file", remove_file_extension(".file"))