forked from pool/python-execnet
osc copypac from project:devel:languages:python package:python-execnet revision:14
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-execnet?expand=0&rev=1
This commit is contained in:
29
fix_apipkg.patch
Normal file
29
fix_apipkg.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From a59f30af7cfbeed4666cc978913dfde66ca9f571 Mon Sep 17 00:00:00 2001
|
||||
From: Anthony Sottile <asottile@umich.edu>
|
||||
Date: Thu, 5 Jul 2018 15:14:35 -0700
|
||||
Subject: [PATCH] Don't copy apipkg into the test dir -- it isn't a single file
|
||||
any more
|
||||
|
||||
---
|
||||
testing/test_termination.py | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/testing/test_termination.py b/testing/test_termination.py
|
||||
index 7320cdf..ae905d4 100644
|
||||
--- a/testing/test_termination.py
|
||||
+++ b/testing/test_termination.py
|
||||
@@ -1,6 +1,5 @@
|
||||
import pytest
|
||||
import execnet
|
||||
-import apipkg
|
||||
import subprocess
|
||||
import py
|
||||
import sys
|
||||
@@ -76,7 +75,6 @@ def test_close_initiating_remote_no_error(testdir, anypython):
|
||||
print ("termination")
|
||||
execnet.default_group.terminate()
|
||||
""")
|
||||
- testdir.makepyfile(apipkg=apipkg)
|
||||
popen = subprocess.Popen(
|
||||
[str(anypython), str(p), str(execnetdir)],
|
||||
stdout=None, stderr=subprocess.PIPE,)
|
||||
Reference in New Issue
Block a user