drospierski24
|
4b46eafa32
|
Additional test cases - New Finally Cases Are Successful
|
2025-07-09 16:51:01 -05:00 |
|
drospierski24
|
91c29c8ea8
|
TryReturnFinally test case - Return Finally added
|
2025-07-09 16:42:37 -05:00 |
|
Xinlong Hu
|
6a63b8130a
|
Assertion/TryExceptFinally Fix
|
2025-07-09 15:31:48 -05:00 |
|
Xinlong Hu
|
d84149dc35
|
Merge branch 'cflow-refactor' into general-improvements
|
2025-07-09 15:29:26 -05:00 |
|
Xinlong Hu
|
471f99297e
|
Try statement was not matching correctly
import os
import site
import sys
try:
abs_file = os.path.abspath(__file__)
except NameError:
raise AssertionError("You must use exec(open(this_file).read(), {'__file__': this_file}))")
bin_dir = os.path.dirname(abs_file)
base = bin_dir[:-len('Scripts') - 1]
os.environ['PATH'] = os.pathsep.join( + os.environ.get('PATH', '').split(os.pathsep))
os.environ['VIRTUAL_ENV'] = base
prev_length = len(sys.path)
for lib in '..\\Lib\\site-packages'.split(os.pathsep):
path = os.path.realpath(os.path.join(bin_dir, lib))
site.addsitedir(path.decode('utf-8') if '' else path)
sys.path[:] = sys.path + sys.path[0:prev_length]
sys.real_prefix = sys.prefix
sys.prefix = base
|
2025-07-09 14:42:17 -05:00 |
|
Xinlong Hu
|
5206c6e27b
|
3.13 With statement was missing return
def _view(cls, array: np.ndarray) -> 'Array':
"""pass"""
with cls._view_without_verification():
array = array.view(cls)
return array
|
2025-07-09 14:18:14 -05:00 |
|
Xinlong Hu
|
15ccfa21ea
|
Discarding footer code in some cases
```
def get_secret(self, secret_name: str) -> KeyVaultSecret:
secret_client: SecretClient = self.get_secret_client()
try:
secret: KeyVaultSecret = secret_client.get_secret(name=secret_name)
except ResourceNotFoundError:
self.logger.error("Secret '%s' was not found in keyvault '%s'.", secret_name, self.name, exc_info=True)
raise KeyvaultError
except HttpResponseError:
self.logger.error("An error occurred while retrieving the secret '%s' from keyvault '%s'.", secret_name,
self.name, exc_info=True)
raise KeyvaultError
return secret
```
|
2025-07-09 12:31:18 -05:00 |
|
Xinlong Hu
|
a0feb5a008
|
Constraining IfElse and expanding TryExcept
|
2025-07-09 11:36:30 -05:00 |
|
drospierski24
|
84ffb3e0bc
|
3.6 handles TryFinallyBareReturn
|
2025-07-09 11:13:32 -05:00 |
|
Xinlong Hu
|
e887a24bf1
|
Assertion fix
|
2025-07-07 17:02:57 -05:00 |
|
Xinlong Hu
|
5e6c46c297
|
END_FINALLY not matching some cases
|
2025-07-07 15:49:23 -05:00 |
|
Xinlong Hu
|
c7ac2dc18c
|
Overlap with raise Exc fix + helper method
|
2025-07-07 13:41:03 -05:00 |
|
drospierski24
|
80e9b6c564
|
fix 3.9 differences between def and non-def
|
2025-07-07 12:45:33 -05:00 |
|
Xinlong Hu
|
d5a859e8b9
|
Outside def fix
|
2025-07-07 12:43:09 -05:00 |
|
Xinlong Hu
|
5765e07b10
|
Fixed assertion matching
|
2025-07-07 12:06:56 -05:00 |
|
drospierski24
|
0049dc07ae
|
Update cflow.py
|
2025-07-07 11:57:16 -05:00 |
|
Xinlong Hu
|
41c5d4ffe0
|
3.6/3.7/3.8 Constraining BareExcept and loosening Except
aa1 completed, aa2 incomplete, abandoning node
|
2025-07-03 16:53:29 -05:00 |
|
Xinlong Hu
|
93ee5cd830
|
Additional failing test case
|
2025-07-03 16:27:59 -05:00 |
|
drospierski24
|
01c31945e4
|
Update Exception.py
|
2025-07-03 14:45:13 -05:00 |
|
drospierski24
|
a3b1aafed5
|
Exception can now handle non-def test cases
|
2025-07-03 14:37:18 -05:00 |
|
Xinlong Hu
|
b6a1007a49
|
3.6/3.7/3.8/3.9/3.10 Try except outside definition fix
|
2025-07-03 14:11:49 -05:00 |
|
Xinlong Hu
|
3ee41410ae
|
Additional try except test case and fix
|
2025-07-03 12:55:31 -05:00 |
|
Xinlong Hu
|
55e71d2185
|
3.6/3.7/3.8 assertions not being matched
|
2025-07-03 12:29:19 -05:00 |
|
drospierski24
|
54ab336b96
|
Update Exception.py
|
2025-07-03 11:49:01 -05:00 |
|
Xinlong Hu
|
22469361fc
|
Merge branch 'syssec-utd:cflow-refactor' into cflow-refactor
|
2025-07-03 11:38:40 -05:00 |
|
Xinlong Hu
|
dcad140a5f
|
TryFinally test cases completed
|
2025-07-03 11:28:01 -05:00 |
|
caandt
|
bcf48c7c7d
|
fix jump targets
|
2025-07-03 11:28:00 -05:00 |
|
Xinlong Hu
|
6b939f5a44
|
Setup for TryFinally implementation
|
2025-07-02 18:10:35 -05:00 |
|
Xinlong Hu
|
ad2cb03cb7
|
Test case G/J
|
2025-07-02 15:38:33 -05:00 |
|
Xinlong Hu
|
0624fe55ff
|
Test case Y
|
2025-07-02 15:01:26 -05:00 |
|
Xinlong Hu
|
e4a46f29ec
|
Test case D
|
2025-07-02 14:29:04 -05:00 |
|
Xinlong Hu
|
426994aead
|
Constraining TryElse3_6
Matching unintended code blocks
|
2025-07-01 14:49:01 -05:00 |
|
Xinlong Hu
|
fe68c6a27b
|
Alphabetized try-exception & added fall through test cases
|
2025-07-01 12:58:02 -05:00 |
|
Xinlong Hu
|
69e52a9c83
|
3.11/3.12/3.13 Finally test cases
Test cases F, K, L, O, R, T, U, V
|
2025-07-01 12:40:45 -05:00 |
|
Xinlong Hu
|
621997a384
|
3.11/3.12/3.13 TryExceptRaise test case
|
2025-07-01 12:07:39 -05:00 |
|
Xinlong Hu
|
598e02cc48
|
TryExceptElseBare Test Case
|
2025-07-01 10:29:18 -05:00 |
|
Xinlong Hu
|
829be3369e
|
Refactoring + 3.10 TryExceptRaiseNamed Test Case
|
2025-06-30 13:52:19 -05:00 |
|
Joel-Flores123
|
79349a781f
|
Merge pull request #55 from XinlongCS/cflow-refactor
3.9/3.10 Try Exception Additional Test Cases (Try-Except-Finally)
|
2025-06-27 10:07:57 -05:00 |
|
Xinlong Hu
|
e1763b80a5
|
Additional 3.9/3.10 Exception test cases finished
|
2025-06-26 18:10:07 -05:00 |
|
Joel-Flores123
|
78dcfbd4ba
|
Merge pull request #54 from tsweet64/xinlong-branch
Try-Exception 3.6/3.7/3.8
|
2025-06-26 17:54:19 -05:00 |
|
Joel Flores
|
3ab3abccc1
|
mps support
|
2025-06-26 17:37:08 -05:00 |
|
Joel Flores
|
3fae0294fb
|
update minimum required python version to support windows
|
2025-06-26 16:14:04 -05:00 |
|
Tim Sweet
|
92e12beb51
|
Merge branch 'to-merge-from-xinlong' into xinlong-branch
|
2025-06-26 16:08:09 -05:00 |
|
Tim Sweet
|
a14a6e7d4b
|
changing order of functions to prepare for merge
|
2025-06-26 16:03:02 -05:00 |
|
Xinlong Hu
|
041f6f530c
|
Missed 3.13
|
2025-06-26 15:07:58 -05:00 |
|
Joel-Flores123
|
1f66a0e82f
|
Merge pull request #51 from tsweet64/cflow-refactor
add test case files to repo
|
2025-06-26 15:03:05 -05:00 |
|
Xinlong Hu
|
f884b7c621
|
3.6/3.7/3.8 Try Except test cases L/M and Refactoring
|
2025-06-26 15:02:34 -05:00 |
|
Tim Sweet
|
421dcc062a
|
add test case files to repo
|
2025-06-26 15:01:30 -05:00 |
|
Joel-Flores123
|
4b046fb302
|
Merge pull request #49 from tsweet64/cflow-refactor
implement has_incoming_edge_of_categories, make bareexcept less strict
|
2025-06-26 14:45:02 -05:00 |
|
Tim Sweet
|
2e96d8df61
|
enable try-except 3.12 for 3.11
|
2025-06-26 14:43:06 -05:00 |
|