[tor-commits] [stem/master] Exclude 'orig' in installation test

atagar at torproject.org atagar at torproject.org
Wed Nov 23 18:27:09 UTC 2016


commit 96ebc6d59f94a0488dd6fbccf573122c7416acb8
Author: Damian Johnson <atagar at torproject.org>
Date:   Wed Nov 23 10:26:16 2016 -0800

    Exclude 'orig' in installation test
    
    Oops, prior commit dropped one of the suffixes we filtered.
---
 test/unit/installation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/unit/installation.py b/test/unit/installation.py
index fbc9315..719abfe 100644
--- a/test/unit/installation.py
+++ b/test/unit/installation.py
@@ -77,7 +77,7 @@ class TestInstallation(unittest.TestCase):
         path = os.path.join(directory, filename)
         file_type = path.split('.')[-1]
 
-        if not file_type in ['.py', '.pyc', '.swp', '.swo']:
+        if not file_type in ['.py', '.pyc', '.swp', '.swo', 'orig']:
           continue
         elif path not in data_files:
           self.fail("setup.py doesn't install %s" % path)



More information about the tor-commits mailing list