Browse Source

Making exception wider for testing purposes

tags/v0.3.11-rc1
haixuantao 10 months ago
parent
commit
8f3061e873
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      node-hub/pyarrow-assert/pyarrow_assert/main.py
  2. +1
    -1
      node-hub/pyarrow-sender/pyarrow_sender/main.py

+ 1
- 1
node-hub/pyarrow-assert/pyarrow_assert/main.py View File

@@ -38,7 +38,7 @@ def main():

try:
data = ast.literal_eval(data)
except ValueError:
except Exception: # noqa
print("Passing input as string")

if isinstance(data, (str, int, float)):


+ 1
- 1
node-hub/pyarrow-sender/pyarrow_sender/main.py View File

@@ -42,7 +42,7 @@ def main():
)
try:
data = ast.literal_eval(data)
except ValueError:
except Exception: # noqa
print("Passing input as string")

if isinstance(data, (str, int, float)):


Loading…
Cancel
Save