ANSWER: I was missing the 'feature_dataset=' from line 14 of my test code. Credit goes to Xander Bakker for the sample code that pointed this out
arcpy<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>ListFeatureClasses<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">(</SPAN><SPAN style="color: #ff0000;"><STRONG>feature_dataset</STRONG><STRONG><SPAN class="" style="background: rgba(255, 255, 255, 0.5); border: 0px;">=</SPAN></STRONG><SPAN class="" style="background: rgba(255, 255, 255, 0.5); border: 0px; color: #000000;">test_dataset</SPAN></SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">)</SPAN>
Hey All,
I have ArcMap installed at version 10.3.1 and I have several automation scripts, and I have recently noticed all my scripts that use arcpy.ListFeatureClasses() fatally error out at that tool.
Is someone else able to confirm they are able to run this without any critical errors?
I have just used the below code to test it bare basics, if someone else could please assist by changing the three variables to suit, does it run successfully?
<SPAN class="keyword token">import</SPAN> arcpy
connection <SPAN class="operator token">=</SPAN> r<SPAN class="string token">"Database Connections\GISADMIN@SDE_Spatial@SDE-DB.sde"</SPAN>
arcpy<SPAN class="punctuation token">.</SPAN>env<SPAN class="punctuation token">.</SPAN>workspace <SPAN class="operator token">=</SPAN> connection
test_dataset <SPAN class="operator token">=</SPAN> r<SPAN class="string token">'Database Connections\GISADMIN@SDE_Spatial@SDE-DB.sde\SDE_SPATIAL.GISADMIN.Airport'</SPAN>
test_feature_within_dataset <SPAN class="operator token">=</SPAN> r<SPAN class="string token">'Database Connections\GISADMIN@SDE_Spatial@SDE-DB.sde\SDE_SPATIAL.GISADMIN.Airport\SDE_SPATIAL.GISADMIN.Airport_Lighting_Zones'</SPAN>
<SPAN class="keyword token">print</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>Exists<SPAN class="punctuation token">(</SPAN>test_dataset<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>Exists<SPAN class="punctuation token">(</SPAN>test_feature_within_dataset<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN> <SPAN class="string token">'It will fail at the next line of code'</SPAN>
<SPAN class="keyword token">print</SPAN> arcpy<SPAN class="punctuation token">.</SPAN>ListFeatureClasses<SPAN class="punctuation token">(</SPAN>test_dataset<SPAN class="punctuation token">)</SPAN>
<SPAN class="keyword token">print</SPAN> <SPAN class="string token">'\n\nTEST COMPLETE'</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>

I am considering updating my machine to the latest version, but before I take this step I am hoping someone can confirm it doesn't work at this version?
Thanks very much for your time.
Cheers