davide-ceretti / strategypy

A strategy game for Python bots with replaceable front ends
MIT License
36 stars 11 forks source link

Running tests fails #31

Closed raulcd closed 9 years ago

raulcd commented 9 years ago

Running tests fail both with python2.7 and python3.4. It seems it tries to run tests for setuptools??:

(strategypy3)raulcd@strategypy (feature/python3_compatibility)* $ tox
GLOB sdist-make: /Users/raulcd/strategypy/setup.py
py27 recreate: /Users/raulcd/strategypy/.tox/py27
py27 installdeps: pytest, ipdb, mock==1.0.1
py27 inst: /Users/raulcd/strategypy/.tox/dist/strategypy-0.2.1.zip
py27 runtests: PYTHONHASHSEED='1913086409'
py27 runtests: commands[0] | py.test -s
===================================================== test session starts =====================================================
platform darwin -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4
collecting 18 itemssvn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LC_ALL is en_UK.UTF-8
svn: warning: please check that your locale name is correct
svn, version 1.7.19 (r1643991)
   compiled Feb 24 2015, 19:10:03

Copyright (C) 2014 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

collected 117 items / 1 errors

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_bdist_egg.py zip_safe flag not set; analyzing archive contents...
..
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_build_ext.py .
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_develop.py .
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_dist_info.py ..
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_easy_install.py .Creating /var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tmpeXyFG6/site.py
.Not found: link1
Not found: link2
./Users/raulcd/strategypy/strategypy3/lib/python3.4/site-packages/setuptools/command/easy_install.py:1503: UserWarning: Unbuilt egg for Unknown [unknown version] (/Users/raulcd/strategypy)
  Environment.add(self, dist)
./Users/raulcd/strategypy/strategypy3/lib/python3.4/site-packages/setuptools/command/easy_install.py:1503: UserWarning: Unbuilt egg for Unknown [unknown version] (/test/location/does-not-have-to-exist)
  Environment.add(self, dist)
.Creating /private/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tmp1b1w55/site.py
Searching for foo
Best match: foo 1.0
Adding foo 1.0 to easy-install.pth file

Using /private/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tmp_CTh9x
.INFO:test_easy_install:this should not break
......
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_markerlib.py .
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_packageindex.py ......Reading http://127.0.0.1:49691/setuptools/tests/indexes/test_links_priority/simple/foobar/
127.0.0.1 - - [16/Mar/2015 19:03:53] code 404, message File not found
127.0.0.1 - - [16/Mar/2015 19:03:53] "GET /setuptools/tests/indexes/test_links_priority/simple/foobar/ HTTP/1.1" 404 -
Couldn't find index page for 'foobar' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://127.0.0.1:49691/setuptools/tests/indexes/test_links_priority/simple/
127.0.0.1 - - [16/Mar/2015 19:03:53] code 404, message File not found
127.0.0.1 - - [16/Mar/2015 19:03:53] "GET /setuptools/tests/indexes/test_links_priority/simple/ HTTP/1.1" 404 -
127.0.0.1 - - [16/Mar/2015 19:03:53] "GET / HTTP/1.1" 200 -
F........
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py .F..F......FF..F.....F..FF...F
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_sandbox.py ..
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_sdist.py ...F.    DIR: /Users/raulcd/strategypy
   READ: running sdist
   READ: running egg_info
FF.
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py ..FFFFFFFFFFFFFFFFFFF.
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_test.py .
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_upload_docs.py .
tests/test_integration.py ...................

=========================================================== ERRORS ============================================================
_________________ ERROR collecting strategypy3/lib/python3.4/site-packages/setuptools/tests/test_egg_info.py __________________
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_egg_info.py:15: in <module>
    ENTRIES_V10 = pkg_resources.resource_string(__name__, 'entries-v10')
.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py:1139: in resource_string
    self, resource_name
.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py:1567: in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py:1690: in _get
    with open(path, 'rb') as stream:
E   IOError: [Errno 2] No such file or directory: '/Users/raulcd/strategypy/strategypy3/lib/python3.4/site-packages/setuptools/tests/entries-v10'
========================================================== FAILURES ===========================================================
____________________________________________ TestPackageIndex.test_links_priority _____________________________________________

self = <setuptools.tests.test_packageindex.TestPackageIndex testMethod=test_links_priority>

    def test_links_priority(self):
        """
            Download links from the pypi simple index should be used before
            external download links.
            https://bitbucket.org/tarek/distribute/issue/163

            Usecase :
            - someone uploads a package on pypi, a md5 is generated
            - someone manually copies this link (with the md5 in the url) onto an
              external page accessible from the package page.
            - someone reuploads the package (with a different md5)
            - while easy_installing, an MD5 error occurs because the external link
              is used
            -> Setuptools should use the link from pypi, not the external one.
            """
        if sys.platform.startswith('java'):
            # Skip this test on jython because binding to :0 fails
            return

        # start an index server
        server = IndexServer()
        server.start()
        index_url = server.base_url() + 'test_links_priority/simple/'

        # scan a test index
        pi = setuptools.package_index.PackageIndex(index_url)
        requirement = pkg_resources.Requirement.parse('foobar')
        pi.find_packages(requirement)
        server.stop()

        # the distribution has been found
>       self.assertTrue('foobar' in pi)
E       AssertionError: False is not true

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_packageindex.py:130: AssertionError
________________________________________________ DistroTests.testDistroBasics _________________________________________________

self = <setuptools.tests.test_resources.DistroTests testMethod=testDistroBasics>

    def testDistroBasics(self):
        d = Distribution(
            "/some/path",
            project_name="FooPkg",version="1.3-1",py_version="2.4",platform="win32"
        )
>       self.checkFooPkg(d)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:120:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:110: in checkFooPkg
    self.assertEqual(d.version, "1.3-1")
E   AssertionError: '1.3.post1' != '1.3-1'
_______________________________________________ DistroTests.testDistroMetadata ________________________________________________

self = <setuptools.tests.test_resources.DistroTests testMethod=testDistroMetadata>

    def testDistroMetadata(self):
        d = Distribution(
            "/some/path", project_name="FooPkg", py_version="2.4", platform="win32",
            metadata = Metadata(
                ('PKG-INFO',"Metadata-Version: 1.0\nVersion: 1.3-1\n")
            )
        )
>       self.checkFooPkg(d)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:139:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:110: in checkFooPkg
    self.assertEqual(d.version, "1.3-1")
E   AssertionError: '1.3.post1' != '1.3-1'
_________________________________________________ EntryPointTests.testRejects _________________________________________________

self = <setuptools.tests.test_resources.EntryPointTests testMethod=testRejects>

    def testRejects(self):
        for ep in [
            "foo", "x=1=2", "x=a:b:c", "q=x/na", "fez=pish:tush-z", "x=f[a]>2",
        ]:
            try: EntryPoint.parse(ep)
            except ValueError: pass
>           else: raise AssertionError("Should've been bad", ep)
E           AssertionError: ("Should've been bad", 'x=1=2')

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:269: AssertionError
___________________________________________ RequirementsTests.testAdvancedContains ____________________________________________

self = <setuptools.tests.test_resources.RequirementsTests testMethod=testAdvancedContains>

    def testAdvancedContains(self):
        r, = parse_requirements("Foo>=1.2,<=1.3,==1.9,>2.0,!=2.5,<3.0,==4.5")
        for v in ('1.2','1.2.2','1.3','1.9','2.0.1','2.3','2.6','3.0c1','4.5'):
>           self.assertTrue(v in r, (v,r))
E           AssertionError: ('1.2', Requirement.parse('Foo!=2.5,<3.0,<=1.3,==1.9,==4.5,>2.0,>=1.2'))

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:340: AssertionError
___________________________________________ RequirementsTests.testOptionsAndHashing ___________________________________________

self = <setuptools.tests.test_resources.RequirementsTests testMethod=testOptionsAndHashing>

    def testOptionsAndHashing(self):
        r1 = Requirement.parse("Twisted[foo,bar]>=1.2")
        r2 = Requirement.parse("Twisted[bar,FOO]>=1.2")
        r3 = Requirement.parse("Twisted[BAR,FOO]>=1.2.0")
        self.assertEqual(r1,r2)
>       self.assertEqual(r1,r3)
E       AssertionError: Requirement.parse('Twisted[foo,bar]>=1.2') != Requirement.parse('Twisted[bar,foo]>=1.2.0')

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:349: AssertionError
_________________________________________________ ParseTests.testSafeVersion __________________________________________________

self = <setuptools.tests.test_resources.ParseTests testMethod=testSafeVersion>

    def testSafeVersion(self):
>       self.assertEqual(safe_version("1.2-1"), "1.2-1")
E       AssertionError: '1.2.post1' != '1.2-1'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:427: AssertionError
_______________________________________________ ParseTests.testVersionEquality ________________________________________________

self = <setuptools.tests.test_resources.ParseTests testMethod=testVersionEquality>

    def testVersionEquality(self):
        def c(s1,s2):
            p1, p2 = parse_version(s1),parse_version(s2)
            self.assertEqual(p1,p2, (s1,s2,p1,p2))

        c('1.2-rc1', '1.2rc1')
        c('0.4', '0.4.0')
        c('0.4.0.0', '0.4.0')
        c('0.4.0-0', '0.4-0')
        c('0pl1', '0.0pl1')
        c('0pre1', '0.0c1')
        c('0.0.0preview1', '0c1')
        c('0.0c1', '0-rc1')
        c('1.2a1', '1.2.a.1')
>       c('1.2...a', '1.2a')

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:466:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:455: in c
    self.assertEqual(p1,p2, (s1,s2,p1,p2))
E   AssertionError: ('1.2...a', '1.2a', <LegacyVersion('1.2...a')>, <Version('1.2a0')>)
_______________________________________________ ParseTests.testVersionOrdering ________________________________________________

self = <setuptools.tests.test_resources.ParseTests testMethod=testVersionOrdering>

    def testVersionOrdering(self):
        def c(s1,s2):
            p1, p2 = parse_version(s1),parse_version(s2)
            self.assertTrue(p1<p2, (s1,s2,p1,p2))

        c('2.1','2.1.1')
        c('2a1','2b0')
        c('2a1','2.1')
        c('2.3a1', '2.3')
        c('2.1-1', '2.1-2')
        c('2.1-1', '2.1.1')
>       c('2.1', '2.1pl4')

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:479:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:471: in c
    self.assertTrue(p1<p2, (s1,s2,p1,p2))
E   AssertionError: ('2.1', '2.1pl4', <Version('2.1')>, <LegacyVersion('2.1pl4')>)
_____________________________________________ NamespaceTests.test_two_levels_deep _____________________________________________

self = <setuptools.tests.test_resources.NamespaceTests testMethod=test_two_levels_deep>

    def test_two_levels_deep(self):
        """
            Test nested namespace packages
            Create namespace packages in the following tree :
                site-packages-1/pkg1/pkg2
                site-packages-2/pkg1/pkg2
            Check both are in the _namespace_packages dict and that their __path__
            is correct
            """
        sys.path.append(os.path.join(self._tmpdir, "site-pkgs2"))
        os.makedirs(os.path.join(self._tmpdir, "site-pkgs", "pkg1", "pkg2"))
        os.makedirs(os.path.join(self._tmpdir, "site-pkgs2", "pkg1", "pkg2"))
        ns_str = "__import__('pkg_resources').declare_namespace(__name__)\n"
        for site in ["site-pkgs", "site-pkgs2"]:
            pkg1_init = open(os.path.join(self._tmpdir, site,
                             "pkg1", "__init__.py"), "w")
            pkg1_init.write(ns_str)
            pkg1_init.close()
            pkg2_init = open(os.path.join(self._tmpdir, site,
                             "pkg1", "pkg2", "__init__.py"), "w")
            pkg2_init.write(ns_str)
            pkg2_init.close()
        import pkg1
        self._assertIn("pkg1", pkg_resources._namespace_packages.keys())
        try:
            import pkg1.pkg2
        except ImportError:
            self.fail("Setuptools tried to import the parent namespace package")
        # check the _namespace_packages dict
        self._assertIn("pkg1.pkg2", pkg_resources._namespace_packages.keys())
        self.assertEqual(pkg_resources._namespace_packages["pkg1"], ["pkg1.pkg2"])
        # check the __path__ attribute contains both paths
        self.assertEqual(pkg1.pkg2.__path__, [
            os.path.join(self._tmpdir, "site-pkgs", "pkg1", "pkg2"),
>           os.path.join(self._tmpdir, "site-pkgs2", "pkg1", "pkg2")])
E       AssertionError: Lists differ: ['/private/var/folders/_5/2vp5... != ['/var/folders/_5/2vp598bx27x0...
E
E       First differing element 0:
E       /private/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs/pkg1/pkg2
E       /var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs/pkg1/pkg2
E
E       First list contains 1 additional elements.
E       First extra element 2:
E       /var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs/pkg1/pkg2
E
E       - ['/private/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs/pkg1/pkg2',
E       ?   --------
E
E       + ['/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs/pkg1/pkg2',
E       -  '/private/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs2/pkg1/pkg2',
E       -  '/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs/pkg1/pkg2']
E       +  '/var/folders/_5/2vp598bx27x01vdjy8s22l8c0000gn/T/tests-setuptools-EbvNpN/site-pkgs2/pkg1/pkg2']
E       ?                                                                                     +

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_resources.py:620: AssertionError
____________________________________ TestSdistTest.test_sdist_with_latin1_encoded_filename ____________________________________

self = <setuptools.tests.test_sdist.TestSdistTest testMethod=test_sdist_with_latin1_encoded_filename>

    def test_sdist_with_latin1_encoded_filename(self):
        # Test for #303.
        dist = Distribution(SETUP_ATTRS)
        dist.script_name = 'setup.py'
        cmd = sdist(dist)
        cmd.ensure_finalized()

        # Latin-1 filename
        filename = os.path.join(b('sdist_test'), LATIN1_FILENAME)
        open(filename, 'w').close()
        self.assertTrue(os.path.isfile(filename))

        quiet()
        try:
            cmd.run()
        finally:
            unquiet()

        if sys.version_info >= (3,):
            #not all windows systems have a default FS encoding of cp1252
            if sys.platform == 'win32':
                # Latin-1 is similar to Windows-1252 however
                # on mbcs filesys it is not in latin-1 encoding
                fs_enc = sys.getfilesystemencoding()
                if fs_enc == 'mbcs':
                    filename = filename.decode('mbcs')
                else:
                    filename = filename.decode('latin-1')

                self.assertTrue(filename in cmd.filelist.files)
            else:
                # The Latin-1 filename should have been skipped
                filename = filename.decode('latin-1')
                self.assertFalse(filename in cmd.filelist.files)
        else:
            # No conversion takes place under Python 2 and the file
            # is included. We shall keep it that way for BBB.
>           self.assertTrue(filename in cmd.filelist.files)
E           AssertionError: False is not true

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_sdist.py:401: AssertionError
________________________________________________ TestDummyOutput.test_sources _________________________________________________

self = <setuptools.tests.test_sdist.TestDummyOutput testMethod=test_sources>

    def test_sources(self):
>       self._run()

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_sdist.py:470:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <setuptools.tests.test_sdist.TestDummyOutput testMethod=test_sources>

    def _run(self):
        code, data = environment.run_setup_py(["sdist"],
                                              pypath=self.old_cwd,
                                              data_stream=0)
        if code:
            info = "DIR: " + os.path.abspath('.')
            info += "\n  SDIST RETURNED: %i\n\n" % code
            info += data
            raise AssertionError(info)

        datalines = data.splitlines()

        possible = (
            "running sdist",
            "running egg_info",
            "creating dummy\.egg-info",
            "writing dummy\.egg-info",
            "writing top-level names to dummy\.egg-info",
            "writing dependency_links to dummy\.egg-info",
            "writing manifest file 'dummy\.egg-info",
            "reading manifest file 'dummy\.egg-info",
            "reading manifest template 'MANIFEST\.in'",
            "writing manifest file 'dummy\.egg-info",
            "creating dummy-0.1.1",
            "making hard links in dummy-0\.1\.1",
            "copying files to dummy-0\.1\.1",
            "copying \S+ -> dummy-0\.1\.1",
            "copying dummy",
            "copying dummy\.egg-info",
            "hard linking \S+ -> dummy-0\.1\.1",
            "hard linking dummy",
            "hard linking dummy\.egg-info",
            "Writing dummy-0\.1\.1",
            "creating dist",
            "creating 'dist",
            "Creating tar archive",
            "running check",
            "adding 'dummy-0\.1\.1",
            "tar .+ dist/dummy-0\.1\.1\.tar dummy-0\.1\.1",
            "gzip .+ dist/dummy-0\.1\.1\.tar",
            "removing 'dummy-0\.1\.1' \\(and everything under it\\)",
        )

        print("    DIR: " + os.path.abspath('.'))
        for line in datalines:
            found = False
            for pattern in possible:
                if re.match(pattern, line):
                    print("   READ: " + line)
                    found = True
                    break
            if not found:
                raise AssertionError("Unexpexected: %s\n-in-\n%s"
>                                    % (line, data))
E               AssertionError: Unexpexected: writing entry points to strategypy.egg-info/entry_points.txt
E               -in-
E               running sdist
E               running egg_info
E               writing entry points to strategypy.egg-info/entry_points.txt
E               writing dependency_links to strategypy.egg-info/dependency_links.txt
E               writing strategypy.egg-info/PKG-INFO
E               writing top-level names to strategypy.egg-info/top_level.txt
E               writing requirements to strategypy.egg-info/requires.txt
E               reading manifest file 'strategypy.egg-info/SOURCES.txt'
E               reading manifest template 'MANIFEST.in'
E               writing manifest file 'strategypy.egg-info/SOURCES.txt'
E               running check
E               creating strategypy-0.2.1
E               creating strategypy-0.2.1/strategypy
E               creating strategypy-0.2.1/strategypy.egg-info
E               creating strategypy-0.2.1/strategypy/bots
E               creating strategypy-0.2.1/strategypy/scripts
E               creating strategypy-0.2.1/tests
E               making hard links in strategypy-0.2.1...
E               hard linking LICENSE -> strategypy-0.2.1
E               hard linking MANIFEST.in -> strategypy-0.2.1
E               hard linking README.md -> strategypy-0.2.1
E               hard linking setup.cfg -> strategypy-0.2.1
E               hard linking setup.py -> strategypy-0.2.1
E               hard linking strategypy/__init__.py -> strategypy-0.2.1/strategypy
E               hard linking strategypy/api.py -> strategypy-0.2.1/strategypy
E               hard linking strategypy/cli.py -> strategypy-0.2.1/strategypy
E               hard linking strategypy/components.py -> strategypy-0.2.1/strategypy
E               hard linking strategypy/consolefe.py -> strategypy-0.2.1/strategypy
E               hard linking strategypy/game.py -> strategypy-0.2.1/strategypy
E               hard linking strategypy/settings.py -> strategypy-0.2.1/strategypy
E               hard linking strategypy.egg-info/PKG-INFO -> strategypy-0.2.1/strategypy.egg-info
E               hard linking strategypy.egg-info/SOURCES.txt -> strategypy-0.2.1/strategypy.egg-info
E               hard linking strategypy.egg-info/dependency_links.txt -> strategypy-0.2.1/strategypy.egg-info
E               hard linking strategypy.egg-info/entry_points.txt -> strategypy-0.2.1/strategypy.egg-info
E               hard linking strategypy.egg-info/not-zip-safe -> strategypy-0.2.1/strategypy.egg-info
E               hard linking strategypy.egg-info/requires.txt -> strategypy-0.2.1/strategypy.egg-info
E               hard linking strategypy.egg-info/top_level.txt -> strategypy-0.2.1/strategypy.egg-info
E               hard linking strategypy/bots/__init__.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/davide.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/happines_base.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/happiness.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/killer.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/prey.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/static.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/unittest_movedown.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/unittest_moveleft.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/unittest_moveright.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/unittest_moveup.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/bots/unittest_static.py -> strategypy-0.2.1/strategypy/bots
E               hard linking strategypy/scripts/__init__.py -> strategypy-0.2.1/strategypy/scripts
E               hard linking strategypy/scripts/davide_trainer.py -> strategypy-0.2.1/strategypy/scripts
E               hard linking tests/__init__.py -> strategypy-0.2.1/tests
E               hard linking tests/test_integration.py -> strategypy-0.2.1/tests
E               copying setup.cfg -> strategypy-0.2.1
E               Writing strategypy-0.2.1/setup.cfg
E               Creating tar archive
E               removing 'strategypy-0.2.1' (and everything under it)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_sdist.py:465: AssertionError
____________________________________________________ TestSvn.test_walksvn _____________________________________________________

self = <setuptools.tests.test_sdist.TestSvn testMethod=test_walksvn>

    @skipIf(not test_svn._svn_check, "No SVN to text, in the first place")
    def test_walksvn(self):
        if self.base_version >= (1, 6):
            folder2 = 'third party2'
            folder3 = 'third party3'
        else:
            folder2 = 'third_party2'
            folder3 = 'third_party3'

        #TODO is this right
        expected = set([
            os.path.join('a file'),
            os.path.join(folder2, 'Changes.txt'),
            os.path.join(folder2, 'MD5SUMS'),
            os.path.join(folder2, 'README.txt'),
            os.path.join(folder3, 'Changes.txt'),
            os.path.join(folder3, 'MD5SUMS'),
            os.path.join(folder3, 'README.txt'),
            os.path.join(folder3, 'TODO.txt'),
            os.path.join(folder3, 'fin'),
            os.path.join('third_party', 'README.txt'),
            os.path.join('folder', folder2, 'Changes.txt'),
            os.path.join('folder', folder2, 'MD5SUMS'),
            os.path.join('folder', folder2, 'WatashiNiYomimasu.txt'),
            os.path.join('folder', folder3, 'Changes.txt'),
            os.path.join('folder', folder3, 'fin'),
            os.path.join('folder', folder3, 'MD5SUMS'),
            os.path.join('folder', folder3, 'oops'),
            os.path.join('folder', folder3, 'WatashiNiYomimasu.txt'),
            os.path.join('folder', folder3, 'ZuMachen.txt'),
            os.path.join('folder', 'third_party', 'WatashiNiYomimasu.txt'),
            os.path.join('folder', 'lalala.txt'),
            os.path.join('folder', 'quest.txt'),
            # The example will have a deleted file
            #  (or should) but shouldn't return it
        ])
>       self.assertEqual(set(x for x in walk_revctrl()), expected)
E       AssertionError: Items in the second set but not the first:
E       'folder/lalala.txt'
E       'third party3/README.txt'
E       'folder/third party2/Changes.txt'
E       'third party3/Changes.txt'
E       'third party3/TODO.txt'
E       'folder/third party3/MD5SUMS'
E       'folder/quest.txt'
E       'folder/third party3/fin'
E       'folder/third party2/MD5SUMS'
E       'a file'
E       'third party2/MD5SUMS'
E       'third party3/fin'
E       'folder/third party3/WatashiNiYomimasu.txt'
E       'third_party/README.txt'
E       'third party3/MD5SUMS'
E       'third party2/Changes.txt'
E       'folder/third party3/Changes.txt'
E       'folder/third party3/ZuMachen.txt'
E       'third party2/README.txt'
E       'folder/third party2/WatashiNiYomimasu.txt'
E       'folder/third party3/oops'
E       'folder/third_party/WatashiNiYomimasu.txt'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_sdist.py:531: AssertionError
__________________________________________________ ParserInfoXML.test_svn13 ___________________________________________________

self = <setuptools.tests.test_svn.ParserInfoXML testMethod=test_svn13>

    def test_svn13(self):
>       self.parse_tester('svn13', False)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:85:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:73: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn13_info.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn13_info.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParserInfoXML.test_svn14 ___________________________________________________

self = <setuptools.tests.test_svn.ParserInfoXML testMethod=test_svn14>

    def test_svn14(self):
>       self.parse_tester('svn14', False)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:88:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:73: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn14_info.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn14_info.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParserInfoXML.test_svn15 ___________________________________________________

self = <setuptools.tests.test_svn.ParserInfoXML testMethod=test_svn15>

    def test_svn15(self):
>       self.parse_tester('svn15', False)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:73: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn15_info.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn15_info.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParserInfoXML.test_svn16 ___________________________________________________

self = <setuptools.tests.test_svn.ParserInfoXML testMethod=test_svn16>

    def test_svn16(self):
>       self.parse_tester('svn16', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:94:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:73: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn16_info.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn16_info.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParserInfoXML.test_svn17 ___________________________________________________

self = <setuptools.tests.test_svn.ParserInfoXML testMethod=test_svn17>

    def test_svn17(self):
>       self.parse_tester('svn17', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:97:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:73: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn17_info.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn17_info.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParserInfoXML.test_svn18 ___________________________________________________

self = <setuptools.tests.test_svn.ParserInfoXML testMethod=test_svn18>

    def test_svn18(self):
>       self.parse_tester('svn18', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:100:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:73: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn18_info.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn18_info.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
________________________________________________ ParserExternalXML.test_svn15 _________________________________________________

self = <setuptools.tests.test_svn.ParserExternalXML testMethod=test_svn15>

    def test_svn15(self):
>       self.parse_tester('svn15', False)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:137:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:108: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn15_ext_list.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn15_ext_list.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
________________________________________________ ParserExternalXML.test_svn16 _________________________________________________

self = <setuptools.tests.test_svn.ParserExternalXML testMethod=test_svn16>

    def test_svn16(self):
>       self.parse_tester('svn16', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:140:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:108: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn16_ext_list.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn16_ext_list.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
________________________________________________ ParserExternalXML.test_svn17 _________________________________________________

self = <setuptools.tests.test_svn.ParserExternalXML testMethod=test_svn17>

    def test_svn17(self):
>       self.parse_tester('svn17', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:143:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:108: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn17_ext_list.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn17_ext_list.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
________________________________________________ ParserExternalXML.test_svn18 _________________________________________________

self = <setuptools.tests.test_svn.ParserExternalXML testMethod=test_svn18>

    def test_svn18(self):
>       self.parse_tester('svn18', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:146:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:108: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn18_ext_list.xml'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn18_ext_list.xml'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParseExternal.test_svn13 ___________________________________________________

self = <setuptools.tests.test_svn.ParseExternal testMethod=test_svn13>

    def test_svn13(self):
>       self.parse_tester('svn13', False)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:166:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:154: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn13_ext_list.txt'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn13_ext_list.txt'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParseExternal.test_svn14 ___________________________________________________

self = <setuptools.tests.test_svn.ParseExternal testMethod=test_svn14>

    def test_svn14(self):
>       self.parse_tester('svn14', False)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:169:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:154: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn14_ext_list.txt'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn14_ext_list.txt'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParseExternal.test_svn15 ___________________________________________________

self = <setuptools.tests.test_svn.ParseExternal testMethod=test_svn15>

    def test_svn15(self):
>       self.parse_tester('svn15', False)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:172:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:154: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn15_ext_list.txt'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn15_ext_list.txt'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParseExternal.test_svn16 ___________________________________________________

self = <setuptools.tests.test_svn.ParseExternal testMethod=test_svn16>

    def test_svn16(self):
>       self.parse_tester('svn16', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:175:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:154: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn16_ext_list.txt'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn16_ext_list.txt'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParseExternal.test_svn17 ___________________________________________________

self = <setuptools.tests.test_svn.ParseExternal testMethod=test_svn17>

    def test_svn17(self):
>       self.parse_tester('svn17', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:178:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:154: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn17_ext_list.txt'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn17_ext_list.txt'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
__________________________________________________ ParseExternal.test_svn18 ___________________________________________________

self = <setuptools.tests.test_svn.ParseExternal testMethod=test_svn18>

    def test_svn18(self):
>       self.parse_tester('svn18', True)

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:181:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:154: in parse_tester
    data = _read_utf8_file(path)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

path = 'setuptools/tests/svn_data/svn18_ext_list.txt'

    def _read_utf8_file(path):
        fileobj = None
        try:
>           fileobj = io.open(path, 'r', encoding='utf-8')
E           IOError: [Errno 2] No such file or directory: 'setuptools/tests/svn_data/svn18_ext_list.txt'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:56: IOError
____________________________________________________ TestSvn.test_entries _____________________________________________________

self = <setuptools.tests.test_svn.TestSvn testMethod=test_entries>

    @skipIf(not _svn_check, "No SVN to text, in the first place")
    def test_entries(self):
        expected = set([
            (os.path.join('a file'), 'file'),
            (os.path.join('folder'), 'dir'),
            (os.path.join('folder', 'lalala.txt'), 'file'),
            (os.path.join('folder', 'quest.txt'), 'file'),
            #The example will have a deleted file (or should)
            #but shouldn't return it
            ])
        info = svn_utils.SvnInfo.load('.')
>       self.assertEqual(set(x for x in info.entries), expected)
E       AssertionError: Items in the second set but not the first:
E       ('a file', 'file')
E       ('folder', 'dir')
E       ('folder/lalala.txt', 'file')
E       ('folder/quest.txt', 'file')

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:222: AssertionError
___________________________________________________ TestSvn.test_externals ____________________________________________________

self = <setuptools.tests.test_svn.TestSvn testMethod=test_externals>

    @skipIf(not _svn_check, "No SVN to text, in the first place")
    def test_externals(self):
        if self.base_version >= (1,6):
            folder2 = 'third party2'
            folder3 = 'third party3'
        else:
            folder2 = 'third_party2'
            folder3 = 'third_party3'

        expected = set([
            os.path.join(folder2),
            os.path.join(folder3),
            os.path.join('third_party'),
            os.path.join('folder', folder2),
            os.path.join('folder', folder3),
            os.path.join('folder', 'third_party'),
            ])
        info = svn_utils.SvnInfo.load('.')
>       self.assertEqual(set([x for x in info.externals]), expected)
E       AssertionError: Items in the second set but not the first:
E       'folder/third party2'
E       'folder/third party3'
E       'third_party'
E       'folder/third_party'
E       'third party2'
E       'third party3'

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:242: AssertionError
____________________________________________________ TestSvn.test_revision ____________________________________________________

self = <setuptools.tests.test_svn.TestSvn testMethod=test_revision>

    @skipIf(not _svn_check, "No SVN to text, in the first place")
    def test_revision(self):
        rev = svn_utils.SvnInfo.load('.').get_revision()
>       self.assertEqual(rev, 6)
E       AssertionError: 0 != 6

strategypy3/lib/python3.4/site-packages/setuptools/tests/test_svn.py:209: AssertionError
======================================== 32 failed, 85 passed, 1 error in 3.72 seconds ========================================
ERROR: InvocationError: '/Users/raulcd/strategypy/.tox/py27/bin/py.test -s'
___________________________________________________________ summary ___________________________________________________________
ERROR:   py27: commands failed
davide-ceretti commented 9 years ago

Can't reproduce..

davide@davide-ThinkPad-T440p:~/projects/other$ rm -rf strategypy
davide@davide-ThinkPad-T440p:~/projects/other$ git clone git@github.com:davide-ceretti/strategypy.git
Cloning into 'strategypy'...
remote: Counting objects: 762, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 762 (delta 6), reused 0 (delta 0), pack-reused 740
Receiving objects: 100% (762/762), 128.83 KiB | 0 bytes/s, done.
Resolving deltas: 100% (446/446), done.
Checking connectivity... done.
davide@davide-ThinkPad-T440p:~/projects/other$ cd strategypy
davide@davide-ThinkPad-T440p:~/projects/other/strategypy$ tox
GLOB sdist-make: /home/davide/projects/other/strategypy/setup.py
py27 create: /home/davide/projects/other/strategypy/.tox/py27
py27 installdeps: pytest, ipdb, mock==1.0.1
py27 inst: /home/davide/projects/other/strategypy/.tox/dist/strategypy-0.2.1.zip
py27 runtests: PYTHONHASHSEED='2218521102'
py27 runtests: commands[0] | py.test -s
============================================================================================================= test session starts =============================================================================================================
platform linux2 -- Python 2.7.6 -- py-1.4.26 -- pytest-2.6.4
collected 19 items 

tests/test_integration.py ...................

========================================================================================================== 19 passed in 0.07 seconds ==========================================================================================================
___________________________________________________________________________________________________________________ summary ___________________________________________________________________________________________________________________
  py27: commands succeeded
  congratulations :)
davide@davide-ThinkPad-T440p:~/projects/other/strategypy$ 
raulcd commented 9 years ago

Fixed. It was my environment! Thanks.