Skip to content

Commit

Permalink
Fixing test/updating cython files in debugger.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Oct 5, 2024
1 parent 7f6c241 commit aae1bbf
Show file tree
Hide file tree
Showing 5 changed files with 3,697 additions and 3,608 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import org.python.pydev.core.MisconfigurationException;
import org.python.pydev.core.TestDependent;
import org.python.pydev.core.docutils.PySelection;
import org.python.pydev.core.preferences.InterpreterGeneralPreferences;
import org.python.pydev.core.structure.CompletionRecursionException;
import org.python.pydev.plugin.nature.PythonNature;
import org.python.pydev.shared_core.IMiscConstants;
Expand Down Expand Up @@ -75,6 +76,7 @@ public static void main(String[] args) {
public void setUp() throws Exception {
super.setUp();
AbstractPyRefactoring.setPyRefactoring(new Refactorer());
InterpreterGeneralPreferences.FORCE_USE_TYPESHED = true;
CompiledModule.COMPILED_MODULES_ENABLED = false;
this.restorePythonPath(TestDependent.getCompletePythonLib(true, isPython3Test()) +
"|" + TestDependent.PYTHON2_PIL_PACKAGES +
Expand Down Expand Up @@ -120,7 +122,7 @@ def m1(self):
NewClass
""";
String expected = """
class NewClass(object):
class NewClass:
pass
Expand All @@ -142,7 +144,7 @@ def m1(self):
NewClass
""";
String expected = """
class NewClass(object):
class NewClass:
pass
Expand Down
Loading

0 comments on commit aae1bbf

Please sign in to comment.