diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-06 09:52:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-06 09:52:49 (GMT) |
commit | cdbc131f0370f6e3712d4167ba987d5e6b7f2802 (patch) | |
tree | 4d7eed32a5c150164e67a9800e60a807c8959ac4 | |
parent | 294bbf3a59255119cc4de3f85762ce47cd1d09e3 (diff) | |
download | cpython-cdbc131f0370f6e3712d4167ba987d5e6b7f2802.zip cpython-cdbc131f0370f6e3712d4167ba987d5e6b7f2802.tar.gz cpython-cdbc131f0370f6e3712d4167ba987d5e6b7f2802.tar.bz2 |
Patch #551911: Escape . properly.
-rw-r--r-- | Lib/test/test_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_commands.py b/Lib/test/test_commands.py index aadd419..cf87fd4 100644 --- a/Lib/test/test_commands.py +++ b/Lib/test/test_commands.py @@ -38,7 +38,7 @@ class CommandTests(unittest.TestCase): # be named anything. \s+\d+ # It has a size. [^/]* # Skip the date. - /. # and end with the name of the file. + /\. # and end with the name of the file. ''' self.assert_(re.match(pat, getstatus("/."), re.VERBOSE)) |