还未发布过话题
  • 扩展 Python 的 unittest 框架 at 2017年11月02日

  • multiprocessing.pool.RemoteTraceback: 
    """
    Traceback (most recent call last):
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py", line 119, in worker
        result = (True, func(*args, **kwds))
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/multiprocessing/pool.py", line 44, in mapstar
        return list(map(*args))
      File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 100, in start
        mkdirInit(devices, app, num)
      File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 67, in mkdirInit
        app[devices] = {"cpu": cpu, "men": men, "flow": flow, "battery": battery, "fps": fps, "header": get_phome(devices)}
      File "/Users/a/自动化相关/monkeyTest-master/monkeyTest.py", line 41, in get_phome
        bg = BasePhoneMsg.get_phone_Kernel(devices)
      File "/Users/a/自动化相关/monkeyTest-master/Base/BasePhoneMsg.py", line 43, in get_phone_Kernel
        pix = get_app_pix(devices)
      File "/Users/a/自动化相关/monkeyTest-master/Base/BasePhoneMsg.py", line 39, in get_app_pix
        return  subprocess.check_output(cmd).split()[2].decode()
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 336, in check_output
        **kwargs).stdout
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 403, in run
        with Popen(*popenargs, **kwargs) as process:
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 707, in __init__
        restore_signals, start_new_session)
      File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py", line 1326, in _execute_child
        raise child_exception_type(errno_num, err_msg)
    FileNotFoundError: [Errno 2] No such file or directory: 'adb -s 5ae50462 shell wm size'
    """
    

    报这个错是什么原因

  • 阿拉伯文是从右往左的人应该跟这个有关

  • 有最新的代码吗?

  • 好谢谢 期待

  • 嗯嗯 向你学习

  • 关键是加入出现了问题 是不是发现不了

  • 你写的这个用例如何判断结果?验证对不对

  • 3q

  • unity 游戏支持吗?有什么办法