Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Adds pydantic tests that had previously been forgotten

elijahbenizzy2cf40be62efe
diff --git a/tests/integrations/test_burr_pydantic_future_annotations.py b/tests/integrations/test_burr_pydantic_future_annotations.py
new file mode 100644
index 00000000..5b376af1
--- /dev/null
+++ b/tests/integrations/test_burr_pydantic_future_annotations.py
@@ -0,0 +1,8 @@
+from __future__ import annotations
+
+import os
+
+"""This tests that the pydantic integration allows for future import of annotations"""
+
+file_name = os.path.join(os.path.dirname(__file__), "test_burr_pydantic.py")
+eval(compile(open(file_name).read(), file_name, "exec"))