GithubHelp home page GithubHelp logo

Comments (3)

giampaolo avatar giampaolo commented on June 23, 2024 1

Haven't had access to a SunOS box for a long time now. I'm afraid you're on your own.

from psutil.

mtelka avatar mtelka commented on June 23, 2024

Haven't had access to a SunOS box for a long time now. I'm afraid you're on your own.

BTW, it is possible to install OpenIndiana as a virtual machine. In VirtualBox it works well.

from psutil.

mtelka avatar mtelka commented on June 23, 2024

TestFSAPIsWithInvalidPath.test_proc_cmdline fails similarly too:


self = <psutil.tests.test_unicode.TestFSAPIsWithInvalidPath testMethod=test_proc_cmdline>

    def test_proc_cmdline(self):
        cmd = [self.funky_name, "-c", "import time; time.sleep(10)"]
        subp = self.spawn_testproc(cmd)
        p = psutil.Process(subp.pid)
        cmdline = p.cmdline()
        for part in cmdline:
            self.assertIsInstance(part, str)
        if self.expect_exact_path_match():
>           self.assertEqual(cmdline, cmd)
E           AssertionError: Lists differ: ['/tm[18 chars]94a8zf\udcc0\udc80', '-c', 'import', 'time;', 'time.sleep(10)'] != ['/tm[18 chars]94a8zf\udcc0\udc80', '-c', 'import time; time.sleep(10)']
E           
E           First differing element 2:
E           'import'
E           'import time; time.sleep(10)'
E           
E           First list contains 2 additional elements.
E           First extra element 3:
E           'time;'
E           
E           + ['/tmp/@psutil-1700-7zi94a8zf\udcc0\udc80', '-c', 'import time; time.sleep(10)']
E           - ['/tmp/@psutil-1700-7zi94a8zf\udcc0\udc80',
E           -  '-c',
E           -  'import',
E           -  'time;',
E           -  'time.sleep(10)']

psutil/tests/test_unicode.py:227: AssertionError

from psutil.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.