Skip to content

Commit

Permalink
Debugging testbench
Browse files Browse the repository at this point in the history
  • Loading branch information
Thrameos committed Oct 27, 2022
1 parent f764e14 commit 9771356
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion native/common/jp_exception.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ PyObject *tb_create(
return NULL;

// Create a traceback
#if PY_MINOR_VERSION<10
#if PY_MINOR_VERSION<11
JPPyObject lasti = JPPyObject::claim(PyLong_FromLong(pframe->f_lasti));
#else
JPPyObject lasti = JPPyObject::claim(PyLong_FromLong(PyFrame_GetLasti(pframe)));
Expand Down
4 changes: 2 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest==7.1.1
pyinstaller==4.10
pytest
pyinstaller
jedi==0.18.0

0 comments on commit 9771356

Please sign in to comment.