Using XY Table to Point with python creates an empty feature class. I use the exact same data and settings in ArcPro and it works fine.
Things I've checked: this is the correct coordinate system and the fields are in fact populated by valid coordinates.
I think this worked fine before I upgraded to 3.3.1, but I'm not 100% sure on that.
import arcpy
lines = r'C:\Users\...\workspace.gdb\lines'
info = arcpy.da.Describe(lines)
s = info['spatialReference']
results = arcpy.management.XYTableToPoint(in_table = lines,
out_feature_class = r'memory\test_results',
x_field = 'start_x',
y_field = 'start_y',
coordinate_system = s)